package com.mineplatform.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.mineplatform.dao.M_ProvinceDao;
import com.mineplatform.domain.M_Province;
import com.mineplatform.iservice.IM_ProvinceService;

@Service
public class M_ProvinceService implements IM_ProvinceService {

	private M_ProvinceDao _m_provincedao;

	@Autowired
	public M_ProvinceService(M_ProvinceDao m_provincedao) {
		this._m_provincedao = m_provincedao;
	}

	@Transactional(propagation = Propagation.NOT_SUPPORTED)
	public List<M_Province> findAll() {
		return this._m_provincedao.findAll();
	}
}
